The variable is set, but never read. Indeed, it does not exist
in the original Firefox code the method is based on.
Remove it to shut up a new gcc warning (-Wunused-but-set-variable).
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4142>
static guint
calculate_password_strength (const gchar *password)
{
- int upper, lower, digit, misc;
+ int upper, digit, misc;
gdouble pwstrength;
int length, i;
return 0;
upper = 0;
- lower = 0;
digit = 0;
misc = 0;
{
if (g_ascii_isdigit (password[i]))
digit++;
- else if (g_ascii_islower (password[i]))
- lower++;
else if (g_ascii_isupper (password[i]))
upper++;
else